/**
* project  edu.lagou.com   stage1_module1
* @author libaice 
* @email libaice147@gmail.com
*/

public class doubleLoop
{
	public static void main (String[] args){
		char [] arr = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};

		System.out.print(" ");  
		for (int i = 0;i< 16 ;i++ )
		{
			System.out.print("  ");
			System.out.print(arr[i]);
		} // the first line , composed by a blankspace and all the characters.


		System.out.println();

		for (int i = 0;i < 16 ;i++ )
		{
			System.out.print(arr[i]);
			for (int j = 0;j< 16 ;j++ )
			{
				System.out.print("  ");
				System.out.print("+");   // double loop , generate (16*16) "+" 
			}
			System.out.println(); // a new line every outer loop
		}
	}
}